package com.example.myproject.dto.message;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class MessageDTO {
    private Long id;
    private Long conversationId;
    private Long fromUserId;
    private Long toUserId;
    private String fromUserName;
    private String toUserName;
    private String fromUserAvatar;
    private String toUserAvatar;
    private String content;
    private LocalDateTime sentAt;
    private Boolean isRead;
}